class CreateCategories < ActiveRecord::Migration
  def self.up
    create_table :categories do |t|
			t.string  :internal_name
			t.string  :name
			t.text  :description
			t.string  :icon
			t.references :root_category
			t.integer  :priority
      t.timestamps
    end
  end

  def self.down
    drop_table :categories
  end
end
